package org.bjtu.model;

import java.util.Date;

/**
 * Permission entity. @author MyEclipse Persistence Tools
 */

public class Permission extends com.janus.persistence.Entity implements java.io.Serializable {

	// Fields

	private Long id;
	private Functionright functionright;
	private Orgrole orgrole;
	private Date permbegindate;
	private Date permenddate;

	// Constructors

	/** default constructor */
	public Permission() {
	}

	/** minimal constructor */
	public Permission(Long id) {
		this.id = id;
	}


	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Functionright getFunctionright() {
		return this.functionright;
	}

	public void setFunctionright(Functionright functionright) {
		this.functionright = functionright;
	}

	public Orgrole getOrgrole() {
		return this.orgrole;
	}

	public void setOrgrole(Orgrole orgrole) {
		this.orgrole = orgrole;
	}

	public Date getPermbegindate() {
		return this.permbegindate;
	}

	public void setPermbegindate(Date permbegindate) {
		this.permbegindate = permbegindate;
	}

	public Date getPermenddate() {
		return this.permenddate;
	}

	public void setPermenddate(Date permenddate) {
		this.permenddate = permenddate;
	}

}